/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2014 All Rights Reserved.
 */
package com.h2o3.carmack.message;

/**
 * @author chensheng
 * @version $Id: MessageFactory.java, v 0.1 1/22/14 10:13 PM chensheng Exp $
 */
public interface MessageFactory {
    <T> Message createMessage(String code, T body);
}
